

#ifndef _SHELL_RESUPAREAFIGHTLOGS_MESSAGE_H_
#define _SHELL_RESUPAREAFIGHTLOGS_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include "AreaFightLog.h"
using namespace std;

class ResUpAreaFightLogsMessage : public Message
{
	public:
	ResUpAreaFightLogsMessage();
	~ResUpAreaFightLogsMessage();
	void reset();
	ResUpAreaFightLogsMessage* clone();
	static const int _ID;
	//变化类型1.添加。2删除。3更新
	int8 type;
	//需要更新的日志
	AreaFightLog* areaFightLog;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
